<?php

namespace app\index\validate;

use think\Validate;
 
class Wordv extends Validate
{
    protected $rule =   [
        'title'  => 'require|max:30',
        'content'   => 'require',   
    ];
    
    protected $message  =   [
        'title.require' => '标题必须',
        'title.max'     => '名称最多不能超过25个字符',
        'content.require'   => '内容必须',

    ];
}